$OpenBSD: patch-xwindow_xlib_x_window_c,v 1.7 2015/06/09 12:55:33 dcoppa Exp $

'XKeycodeToKeysym' is deprecated

--- xwindow/xlib/x_window.c.orig	Sun Jun  7 03:36:22 2015
+++ xwindow/xlib/x_window.c	Tue Jun  9 14:28:59 2015
@@ -4318,7 +4318,7 @@ x_window_get_mod_meta_mask(
 				break ;
 			}
 
-			sym = XKeycodeToKeysym( win->disp->display , key_codes[kc_count] , 0) ;
+			sym = XkbKeycodeToKeysym( win->disp->display , key_codes[kc_count] , 0, 0) ;
 
 			if( ( ( mod_key == NULL || strcmp( mod_key , "meta") == 0) &&
 					( sym == XK_Meta_L || sym == XK_Meta_R)) ||
